package com.shouxin.attendance.network;

import org.apache.log4j.Logger;

import java.io.IOException;

import okhttp3.Call;
import okhttp3.Callback;

public abstract class CommonCallback implements Callback {

	private final Logger logger = Logger.getLogger(CommonCallback.class);

	@Override
	public void onFailure(Call call, IOException e) {
		logger.error("request url failed for : " + call.request().url().toString(), e);
	}
}
